#ifndef CHESS_BOARD_POSE_CORRECT_H
#define CHESS_BOARD_POSE_CORRECT_H

#include "pose_correct.h"


class ChessBoardPoseCorrect :
    public PoseCorrect
{
protected:
	void getProjectionMatrix(const cv::Mat& image, cv::Mat& matrix) override;	
	
private:
	void findPointsPair(const cv::Mat& image,
						std::vector<cv::Point2f>& srcPoints,
						std::vector<cv::Point2f>& dstPoints);

	void findFourCorners(std::vector<cv::Point2f>& srcPoints,
						std::vector<cv::Point2f>& dstPoints);
};


#endif

